function makeFigure()

load('missile-1.txt');
load('missile-10.txt');

subplot(1, 2, 1);
showConfusion(missile_1);

subplot(1, 2, 2);
showConfusion(missile_10);

% HeatMap(flipud(log(missile_1)), ...
%   'ColorMap', colormap('gray'));

end

function showConfusion(A)
    % divide by column sums
    % A = A ./ (ones(size(A, 1), 1) * sum(A));
    A = A ./ (sum(A, 2) * ones(1, size(A, 2)));
    imagesc(A);
    colormap('gray');
end